package magicbattle.game.character;

public class CharacterClass {
	public enum CharacterClasses {
		MAGE, WARRIOR;
	}

	private CharacterClasses currentClass;
	private Skills[] skills;

	private Attribute startAttribute;
	
	public CharacterClass(CharacterClasses pcurrentClass) {
		this.currentClass = pcurrentClass;
		this.initialize();
	}

	public void initialize() {
		switch (this.currentClass) {
		case MAGE:
			this.startAttribute = new Attribute(400F,500F,75,50,110,10,15,25,10,200,0.01F,0.03F,10,20,4);
			this.skills = new Skills[1];
			this.skills[0] = new ActivSkills(0);
			break;
		case WARRIOR:
			this.startAttribute = new Attribute(750F,200F,60,40,70,25,20,10,12,210,0.03F,0.01F,20,15,7);
			break;
		}
	}
	
	public CharacterClasses getCurrentClass() {
		return currentClass;
	}

	public Skills[] getSkills() {
		return skills;
	}

	public Attribute getStartAttribute() {
		return startAttribute;
	}

}